#include "shm.hpp"
#include "namePipe.hpp"
int main()
{
    Shm shm(path, proj_id, user);
    char* addr = (char*)shm.GetAddr();
    NamePipe pipe(Path, User);
    pipe.OpenForWrite();
    char s = 'A';
    while(s <= 'Z')
    {
        addr[s - 'A'] = s;
        std::cout << "Insert : " << s << std::endl;
        s++;
        pipe.WriteNamePipe("wake");
        sleep(2);
    }
    return 0;
}